package stream;

import java.io.Serializable;

public class Score implements Serializable {
	String userId, irum;
	int kor,eng,tot;
	
	public Score(String id, String ir, int k, int e){
		this.userId=id;
		this.irum=ir;
		this.kor=k;
		this.eng=e;
		
		tot = kor+eng;
	}
	public int getTot() {
		return tot;
	}
	public void setTot(int tot) {
		this.tot = tot;
	}
	public String getUserId() {
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}
	public String getIrum() {
		return irum;
	}
	public void setIrum(String irum) {
		this.irum = irum;
	}
	public int getKor() {
		return kor;
	}
	public void setKor(int kor) {
		this.kor = kor;
	}
	public int getEng() {
		return eng;
	}
	public void setEng(int eng) {
		this.eng = eng;
	}
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

}
